package com.photographysharing.mapper;

import com.photographysharing.dto.UserDTO;
import com.photographysharing.entity.Users;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author Z
* @description 针对表【users】的数据库操作Mapper
* @createDate 2024-05-14 21:15:12
* @Entity com.photographysharing.entity.Users
*/
@Mapper
public interface UsersMapper extends BaseMapper<Users> {

    List<UserDTO> selectByPage(@Param("index") int index,@Param("size") int size,@Param("name") String name,@Param("email") String email);

    int selectCount(String name, String email);
}




